What is the meaning of the word "in loco parentis"?

Definitions:

  1. in place of the parents copy to clipboard adverb
    • we had to punish this child in loco parentis copy to clipboard